//
// Created by mailanglideguozhe on 2022/2/20.
//
#include "com_guo_imagetransfer_MainModel.h"
/*图像数据的结构体*/
typedef struct YUVDatas{
    unsigned int iWidth;/*宽度像素*/
    unsigned int iHeight;/*像素高度*/
    unsigned int iDataLength;/*数据长度*/
    unsigned char *iDatas;/*YUV数据存放位置*/
}T_YUVDatas, *pYUVDatas;/*图像数据变量和指针*/


JNIEXPORT jstring JNICALL Java_com_guo_imagetransfer_MainModel_getName
  (JNIEnv *env, jobject obj){
      return (*env)->NewStringUTF(env, "first jni");
  }

JNIEXPORT jbyteArray JNICALL Java_com_guo_imagetransfer_MainModel_changeImageSize
        (JNIEnv *env, jobject obj, jbyteArray data, jint iOriginWidth,
                jint iOriginHeight, jint iTargetWidth, jint iTargetHeight){

  }

